package com.boonya.springboot.mybatis.sbmybatis.entity;

public class Student {
    private Integer id;

    private String name;

    private String sex;

    private Integer age;

    private Float sum;

    public Student(Integer id, String name, String sex, Integer age, Float sum) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.sum = sum;
    }

    public Student() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Float getSum() {
        return sum;
    }

    public void setSum(Float sum) {
        this.sum = sum;
    }
}